<?php
namespace app\admin\model\sum\store;

use app\admin\model\sum\Common;
use app\admin\model\sum\goods\Goods as GoodsModel;
use traits\model\SoftDelete;

class Goods extends Common
{
    // 表名
    protected $name = 'sum_store_goods';

    // 追加属性
    protected $append = [
    ];

    public function goods()
    {
        return $this->belongsTo(GoodsModel::class, 'goods_id', 'id');
    }
}
